package dao;

import java.util.List;
import utils.ObjectCache;
import domain.Vocabulary;

public class VocabularyListCache extends ObjectCache<Vocabulary, List<Vocabulary>> {
	private static VocabularyListCache instance;

	private VocabularyListCache() {
		setCacheName("vocabulary_list_cache_time");
		initObjectCache();
	}

	public static VocabularyListCache getInstance() {
		if (instance == null) {
			instance = new VocabularyListCache();
		}
		return instance;
	}
}
